Skip to content

Fix crash in puncta detection on large images#28

Merged
clarenceyapp merged 4 commits intoHMS-IDAC:masterfrom
jmuhlich:puncta-large-image-fix
Oct 26, 2025
Merged

Fix crash in puncta detection on large images#28
clarenceyapp merged 4 commits intoHMS-IDAC:masterfrom
jmuhlich:puncta-large-image-fix

Conversation

@jmuhlich
Copy link
Contributor

skimage 0.16.2 has a bug where images above a certain size cause an out-of-bounds array read in the cython code, leading to a segfault and hard crash. This upgrades us to skimage 0.20.0 which has a fix. Workarounds are required for other API changes and new bugs.

skimage 0.16.2 has a bug where images above a certain size cause an
out-of-bounds array read in the cython code, leading to a segfault
and hard crash. This upgrades us to skimage 0.20.0 which has a fix.
Workarounds are required for other API changes and new bugs.
@jmuhlich jmuhlich marked this pull request as draft October 26, 2025 02:26
@jmuhlich
Copy link
Contributor Author

Found a severe performance regression. Testing the fix now.

It turns out the code is almost completely compatible with the latest
version of all the dependencies. It ended up being a lot simpler to
upgrade everything than chase all the issues with the older versions
one by one.
Not necessary for the puncta detection fix, but this does make the script
more ergonomic.
@jmuhlich jmuhlich marked this pull request as ready for review October 26, 2025 04:10
@jmuhlich
Copy link
Contributor Author

jmuhlich commented Oct 26, 2025

I slipped in a commit with some improvements to the multi-processing and log output, hope that's OK.

@clarenceyapp clarenceyapp merged commit 21c2931 into HMS-IDAC:master Oct 26, 2025
1 check passed
@jmuhlich jmuhlich deleted the puncta-large-image-fix branch October 28, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants